/*
 * Copyright (c) 2017 22420103@QQ.COM 版权所有
 */
package com.lehe.entry.wx.message;

import java.util.List;

/**
 * 类的功能描述<br>
 *
 * @author 王丹
 * @since 2017-02-22
 */
public class RespMenuQueryMessage extends RespBaseMessage {

    private Menu menu;
    private List<ConditionalMenu> conditionalmenu;

    public Menu getMenu() {
        return menu;
    }

    public void setMenu(Menu menu) {
        this.menu = menu;
    }

    public List<ConditionalMenu> getConditionalmenu() {
        return conditionalmenu;
    }

    public void setConditionalmenu(List<ConditionalMenu> conditionalmenu) {
        this.conditionalmenu = conditionalmenu;
    }

    public static class Menu{
        private List<Button> button;
        private String menuid;

        public List<Button> getButton() {
            return button;
        }

        public void setButton(List<Button> button) {
            this.button = button;
        }

        public String getMenuid() {
            return menuid;
        }

        public void setMenuid(String menuid) {
            this.menuid = menuid;
        }

        public static class Button{
            private String name;
            private String type;
            private String key;
            private String url;
            private List<SubButton> subButton;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public List<SubButton> getSubButton() {
                return subButton;
            }

            public void setSubButton(List<SubButton> subButton) {
                this.subButton = subButton;
            }

            public static class SubButton{
                private String name;
                private String type;
                private String key;
                private String url;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }
    }

    public static class ConditionalMenu{
        private List<Button> button;
        private String menuid;
        private MatchRule matchrule;

        public List<Button> getButton() {
            return button;
        }

        public void setButton(List<Button> button) {
            this.button = button;
        }

        public String getMenuid() {
            return menuid;
        }

        public void setMenuid(String menuid) {
            this.menuid = menuid;
        }

        public MatchRule getMatchrule() {
            return matchrule;
        }

        public void setMatchrule(MatchRule matchrule) {
            this.matchrule = matchrule;
        }

        public static class Button{
            private String name;
            private String type;
            private String key;
            private String url;
            private List<SubButton> subButton;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public List<SubButton> getSubButton() {
                return subButton;
            }

            public void setSubButton(List<SubButton> subButton) {
                this.subButton = subButton;
            }

            public static class SubButton{
                private String name;
                private String type;
                private String key;
                private String url;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }

        public static class MatchRule{
            private String groupId;
            private String sex;
            private String country;
            private String province;
            private String city;
            private String clientPlatformType;

            public String getGroupId() {
                return groupId;
            }

            public void setGroupId(String groupId) {
                this.groupId = groupId;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public String getCountry() {
                return country;
            }

            public void setCountry(String country) {
                this.country = country;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getClientPlatformType() {
                return clientPlatformType;
            }

            public void setClientPlatformType(String clientPlatformType) {
                this.clientPlatformType = clientPlatformType;
            }
        }
    }
}
